﻿using System;
using System.Collections.Generic;
using System.Windows.Forms;

namespace NNLInterface
{
    static class Program
    {
        /// <summary>
        /// 应用程序的主入口点。
        /// </summary>
        [STAThread]
        static void Main()
        {
            Application.EnableVisualStyles();
            Application.SetCompatibleTextRenderingDefault(false);
            iniApplication();

            //运行setup程序
            //frmSetup frmsetup = new frmSetup();
            //frmsetup.ShowDialog();

            //frmCapabilityBas frmcapabilitybas = new frmCapabilityBas();
            //frmcapabilitybas.ShowDialog();
            //Application.Exit();

            frmProcessCard frmprocesscarrd = new frmProcessCard();
            frmprocesscarrd.ShowDialog();
            Application.Exit();

        }


        /// <summary>
        /// 初始化插件，设定相关参数
        /// </summary>
        public static void iniApplication()
        {
            common.subGetIniData();
            common.iniSkin();
            common.strConnect = common.GetConnectString();

        }
    }


}
